<h2><?php print $header?></h2>
<p>
Todo:
	<ul>
		<li></li>
	</ul>
</p>
<div class="buttons">                
	<a href="<?php print site_url( 'article/user/portlet/form' )?>">
    <?php print $this->bep_assets->icon( 'add' );?>
    <?php print $this->lang->line( 'create_region' )?>
    </a>
</div>
<br />
<br />
<?php print form_open( 'article/user/portlets/delete' )?>
<table class="data_grid" cellspacing="0">
    <thead>
        <tr>
            <th width=16%><?php print $this->lang->line( 'category_title' )?></th> 
            <th width=16%><?php print $this->lang->line( 'category_title' )?></th> 
            <th width=16%><?php print $this->lang->line( 'category_title' )?></th> 
            <th width=6% class="middle"><?php print $this->lang->line( 'category_edit' )?></th>
            <th width=6% class="middle"><?php print $this->lang->line( 'category_manage' )?></th>
            <th width=8%><?php print form_checkbox( 'all', 'select', FALSE)?><?php print $this->lang->line( 'category_delete' )?></th>        
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td colspan=5>&nbsp;</td>
            <td><?php print form_submit( 'delete', $this->lang->line( 'category_delete' ), 'onClick="return confirm(\''.$this->lang->line( 'category_delete_confirm' ).'\');"' )?></td>
        </tr>
    </tfoot>
    <tbody>
         <?php foreach( $portlet->result_array( ) as $row ){ ?>
        <tr>
            <td><?php print $row['region']?></td>
            <td><?php print $row['default']?></td>
            <td class="middle"><!-- <?php print img($this->config->item('shared_assets').'icons/'.($row['active']?'tick':'cross').'.png')?>--></td> 
            <td class="middle"><a href="<?php print site_url('article/user/portlets/form/'.$row['id'])?>"><?php print $this->bep_assets->icon( 'pencil' ) ?></a></td>
            <td class="middle"><a href="<?php print site_url('article/user/portlets/show_portlets/'.$row['id'])?>"><?php print $this->bep_assets->icon( 'pencil' ) ?></a></td>
            <td><?php print form_checkbox( 'select[]', $row['id'], FALSE ); ?></td>
        </tr>
        <?php } //foreach ?>
    </tbody>
</table>
<?php print form_close( )?>